package cn.dmw.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class PassentgerInformation {

    @RequestMapping("/getPassenger")
    //@RequestParam String currentPage , @RequestParam String pageSize
    public String getPassenger(@RequestParam String currentPage , @RequestParam String pageSize) {
        System.out.println("currentPage =" + currentPage );
        System.out.println("pageSize =" + pageSize);
        System.out.println("pageSize =" + pageSize);
        return "getPassenger_ok";
    }

}
